<template>
  <div id="app">
    <!-- <el-row>
      <el-button>默认按钮</el-button>
      <el-button type="primary" @click="btnFn">主要按钮</el-button>
      <el-button type="success">成功按钮</el-button>
      <el-button type="info">信息按钮</el-button>
      <el-button type="warning">警告按钮</el-button>
      <el-button type="danger">危险按钮</el-button>
    </el-row> -->

    <!-- 1级路由出口 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  methods: {
    btnFn() {
      // alert(111)
       this.$message.error('错了哦，这是一条错误消息');
    },
  },
};
</script>


<style lang="scss">
</style>
